import { get, post } from '@/utils/axios'

const prefixUrl = '/tableInfo/'

/** 表配置 */
export const updatTable = (tableInfoList, tableName) => post(`${prefixUrl}updateTable`, { tableName, tableInfoList }, false)

/** 查询表配置 */
export const columnList = (tableName) => get(`${prefixUrl}columnList`, { tableName })
